{% extends "base.html" %}
{% from "_page.html" import message, render_errors %}
{%block title%}重置密码 | {%endblock%}
{%block container%}
{{message()}}
<div id="register">
<h2>重置密码</h2>
    <form class="form-horizontal" method="POST">
        {{ form.hidden_tag() }}
        <div class="control-group">
            {{form.password.label(class="control-label")}}
            <div class="controls">
                {{ form.password() }} {{ render_errors(form.password) }}
            </div>
        </div>
        <div class="control-group">
            {{form.password_again.label(class="control-label")}}
            <div class="controls">
                {{ form.password_again() }} {{ render_errors(form.password_again) }}
            </div>
        </div>
        <div class="form-actions">
            {{form.submit(class="btn btn-primary")}}
        </div>
    </form>
</div>
{% endblock %}